package com.hc.api.enums;

/**
 * Created by yx on 2017/4/12.
 * 商品类型
 */
public enum GoodsEnum {
    HOSPITAL(1, "医院"),
    VOUCHER(2, "优惠券"),
    ORDER(3, "订单");

    private int code;
    private String goodsType;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    private GoodsEnum(int code, String goodsType) {
        this.code = code;
        this.goodsType = goodsType;
    }
}
